package com.blog.BO;

import java.util.Date;

/**
 * @author 蒲鑫
 * @function 功能：条件查询管理员时使用的对象
 * @date 2023年6月7日
 */
public class AdminBO {
	private int adminId;//管理员id

	private String adminName;//管理员用户名

	private String adminPass;//管理员密码
	
	private int adminLevel;//管理员等级

	private Date regDate;//管理员注册时间

	private Date regStartDate;//管理员注册开始时间
	
	private Date regEndDate;//管理员注册结束时间

	public int getAdminId() {
		return adminId;
	}

	public void setAdminId(int adminId) {
		this.adminId = adminId;
	}

	public String getAdminName() {
		return adminName;
	}

	public void setAdminName(String adminName) {
		this.adminName = adminName;
	}

	public String getAdminPass() {
		return adminPass;
	}

	public void setAdminPass(String adminPass) {
		this.adminPass = adminPass;
	}

	public int getAdminLevel() {
		return adminLevel;
	}

	public void setAdminLevel(int adminLevel) {
		this.adminLevel = adminLevel;
	}

	public Date getRegDate() {
		return regDate;
	}

	public void setRegDate(Date regDate) {
		this.regDate = regDate;
	}

	public Date getRegStartDate() {
		return regStartDate;
	}

	public void setRegStartDate(Date regStartDate) {
		this.regStartDate = regStartDate;
	}

	public Date getRegEndDate() {
		return regEndDate;
	}

	public void setRegEndDate(Date regEndDate) {
		this.regEndDate = regEndDate;
	}

	@Override
	public String toString() {
		return "AdminBO [adminId=" + adminId + ", adminName=" + adminName + ", adminPass=" + adminPass + ", adminLevel="
				+ adminLevel + ", regDate=" + regDate + ", regStartDate=" + regStartDate + ", regEndDate=" + regEndDate
				+ "]";
	}

	public AdminBO(int adminId, String adminName, String adminPass, int adminLevel, Date regDate, Date regStartDate,
			Date regEndDate) {
		super();
		this.adminId = adminId;
		this.adminName = adminName;
		this.adminPass = adminPass;
		this.adminLevel = adminLevel;
		this.regDate = regDate;
		this.regStartDate = regStartDate;
		this.regEndDate = regEndDate;
	}

	public AdminBO() {
		super();
	}

}
